#include "net/ip/uip-debug.h"
// //will not show the debug information
// #define DEBUG_NONE 0
// //test the debug infomation
// #define DEBUG_PRINT 1
/**
 * display the ipv6 address
 * @param addr the pointer of the ipv6 address object
 * */
void uip_debug_ipaddr_print(const uip_ipaddr_t *addr);
/**
 * display the array's content, it will default append the <enter>
 * @param data array's pointer
 * @param length howmany length will be displayed
 * */
void debug_short_array(uint8_t *data, uint16_t length);

#if DEBUG
#include <stdio.h>
#define PRINT6ADDR(addr) uip_debug_ipaddr_print(addr)
#define DEBUGARRAY(arr, length) debug_array(arr, length)
#else
#define PRINT6ADDR(addr)
#define DEBUGARRAY(arr)
#endif